This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
~Joan Nimnuvitchoden 21.Jan.04 03:59 PM a Web browser Applications DevelopmentAll ReleasesWindows XP
My website has a search field that returns the search results using the $$SearchTemplateResults form. Next to the search field is an image that calls a JavaScript function to perfom the search from the "onClick" event. The JS function accepts the text to search for as a parameter. The search works properly when performed on most pages of the website.
The only place the search fails is when I attempt a search from the search results page. When I attempt this, I get a "No Documents Found for query "undefined"" message. In debugging the JavaScript, the parameter passed to the JS function is "undefined". All fields on this form come back "undefined" when I try to pass them to this function.
I'm wondering if this is because the $$SearchTemplateDefault form is always "read-only". Can someone verify this? And if this is the case, is there a way to do a search from this form?